package org.bing.engine.common.remoting.hessian;

import java.io.IOException;
import java.io.OutputStream;
import java.util.Date;

import org.bing.adapter.com.caucho.hessian.io.HessianSerializerOutput;


public class HessianSerializer {

    /**
     * @param args
     * @throws IOException 
     */
    public static void main(String[] args) throws IOException {
        OutputStream os = System.out;
        HessianSerializerOutput out = new HessianSerializerOutput(os);
        out.writeObject(new Date());
        out.flush(); 
    }

}
